package com.client.service.data;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.shared.model.Apporteur;
import com.shared.model.Compagnie;

@RemoteServiceRelativePath("compagnie")
public interface CompagnieDataService extends RemoteService{
	/**	
	* @gwt.typeArgs <com.shared.model.Compagnie>
	*/
	List getList() throws IllegalArgumentException;
	
	Compagnie getCompagnie(long key) throws IllegalArgumentException;
	
	String save(Compagnie compagnie) throws IllegalArgumentException;
	
	String update(Compagnie compagnie) throws IllegalArgumentException;
	
	String delete(Compagnie compagnie) throws IllegalArgumentException;
}
